import request from './axiosInstance.js'

const api = {
	get   : {
		['/menuList.json']() {
			return request({
				method: 'get',
				url   : '/menuList.json',
				params: {}
			})
		},
		['/menu']() {
			return request({
				method: 'get',
				url   : '/menu',
				params: {}
			})
		},
		['/rest/doingAnalyse/queryTitleData']() {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryTitleData',
				params: {}
			})
		},
		['/rest/doingAnalyse/queryStepBar']() {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryStepBar',
				params: {}
			})
		},
		['/rest/doingAnalyse/queryProTypePie']() {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryProTypePie',
				params: {}
			})
		},
		['/rest/doingAnalyse/queryDurSumLine']() {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryDurSumLine',
				params: {}
			})
		},
		['/rest/doingAnalyse/queryWarnTop']() {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryWarnTop',
				params: {}
			})
		},
		['/rest/doingAnalyse/queryDeptPie']() {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryDeptPie',
				params: {}
			})
		},
		['/rest/doingAnalyse/queryTitleData_gd'](startTime, endTime) {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryTitleData_gd',
				params: { startTime, endTime }
			})
		},
		['/rest/doingAnalyse/queryYzdwTop_gd'](startTime, endTime) {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryYzdwTop_gd',
				params: { startTime, endTime }
			})
		},
		['/rest/doingAnalyse/queryProTypePie_gd'](startTime, endTime) {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryProTypePie_gd',
				params: { startTime, endTime }
			})
		},
		['/rest/doingAnalyse/queryFiveYear_gd'](startTime, endTime) {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryFiveYear_gd',
				params: { startTime, endTime }
			})
		},
		['/rest/doingAnalyse/queryWarnTop_gd'](startTime, endTime) {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryWarnTop_gd',
				params: { startTime, endTime }
			})
		},
		['/rest/doingAnalyse/queryDeptPie_gd'](startTime, endTime) {
			return request({
				method: 'get',
				url   : '/rest/doingAnalyse/queryDeptPie_gd',
				params: { startTime, endTime }
			})
		},
		//时效预警分析  项目总数、预警总数、一次预警总数、二次预警总数
		['/rest/timingAnalyse/queryTitleData']() {
			return request({
				method: 'get',
				url   : '/rest/timingAnalyse/queryTitleData',
				params: {}
			})
		},
		//时效预警分析  阶段预警统计
		['/rest/timingAnalyse/queryStepBar']() {
			return request({
				method: 'get',
				url   : '/rest/timingAnalyse/queryStepBar',
				params: {}
			})
		},
		//时效预警分析  各部门预警统计
		['/rest/timingAnalyse/queryDeptPie']() {
			return request({
				method: 'get',
				url   : '/rest/timingAnalyse/queryDeptPie',
				params: {}
			})
		},
		//时效预警分析  近五年预警数量
		['/rest/timingAnalyse/queryFiveYearLine']() {
			return request({
				method: 'get',
				url   : '/rest/timingAnalyse/queryFiveYearLine',
				params: {}
			})
		},
		//时效预警分析  项目超时预警数量排名top10
		['/rest/timingAnalyse/queryProBar']() {
			return request({
				method: 'get',
				url   : '/rest/timingAnalyse/queryProBar',
				params: {}
			})
		},
		//时效预警分析  近一年预警数量
		['/rest/timingAnalyse/queryYearLine']() {
			return request({
				method: 'get',
				url   : '/rest/timingAnalyse/queryYearLine',
				params: {}
			})
		},
		//项目数据上报  代办任务列表
		['/rest/info/todoList'](prjid) {
			return request({
				method: 'get',
				url   : '/rest/info/todoList',
				params: { prjid }
			})
		},
		//鱼骨图
		['/rest/projectFollow/queryFollow'](project_id) {
			return request({
				method: 'get',
				url   : '/rest/projectFollow/queryFollow',
				params: { project_id }
			})
		},
		//项目进度管理  任务督办提醒
		['/rest/taskSupervise/queryTaskSuperviseWarnList'](project_name, duty_dept, is_done, cron_type, reply_flag, finish_state, currentPage, pageSize) {
			return request({
				method: 'get',
				url   : '/rest/taskSupervise/queryTaskSuperviseWarnList',
				params: { project_name, duty_dept, is_done, cron_type, reply_flag, finish_state, currentPage, pageSize }
			})
		},
		//项目进度管理  任务超时预警
		['/rest/taskSupervise/queryTaskOvertimeList'](project_name, duty_dept, is_done, not_duban, currentPage, pageSize, done_state) {
			return request({
				method: 'get',
				url   : '/rest/taskSupervise/queryTaskOvertimeList',
				params: { project_name, duty_dept, is_done, not_duban, currentPage, pageSize, done_state }
			})
		},
		//责任部门列表
		['/rest/rptTemplate/queryCode_dutyList']({} = {}) {
			return request({
				method: 'get',
				url   : '/rest/rptTemplate/queryCode_dutyList',
				params: {}
			})
		},
		//任务审批列表
		['/rest/rptSp/querySpList'](project_name, work_name, task_name, done_person_dept, done_start_time, done_end_time, sp_state, pageSize, currentPage) {
			return request({
				method: 'get',
				url   : '/rest/rptSp/querySpList',
				params: { project_name, work_name, task_name, done_person_dept, done_start_time, done_end_time, sp_state, pageSize, currentPage }
			})
		},
		//审批记录
		['/rest/rptSp/querySpHis_byTask'](rel_project_id, rel_task_id) {
			return request({
				method: 'get',
				url   : '/rest/rptSp/querySpHis_byTask',
				params: { rel_project_id, rel_task_id }
			})
		},
		//完成部门
		['/rest/rptSp/queryDoneDeptList']() {
			return request({
				method: 'get',
				url   : '/rest/rptSp/queryDoneDeptList',
				params: {}
			})
		},
		//查询任务对应的要件列表
		['/rest/info/searchItemList'](taskid) {
			return request({
				method: 'get',
				url   : '/rest/info/searchItemList',
				params: { taskid }
			})
		},
		//查询要件对应的项目列表
		['/rest/info/searchItemColList'](itemId) {
			return request({
				method: 'get',
				url   : '/rest/info/searchItemColList',
				params: { itemId }
			})
		},
		//文件下载
		['/rest/file/download'](fileid) {
			return request({
				method: 'get',
				url   : '/rest/file/download',
				params: { fileid }
			})
		},
		//项目数据上报list
		['/rest/info']() {
			return request({
				method: 'get',
				url   : '/rest/info',
				params: {}
			})
		},
		//项目数据上报  查询要件信息
		['/rest/info/searchItemInfo'](prjId, taskId, workId, itemId) {
			return request({
				method: 'get',
				url   : '/rest/info/searchItemInfo',
				params: { prjId, taskId, workId, itemId }
			})
		},
		//项目数据上报  查询任务对应的要件列表及表头和数据
		['/rest/info/searchItemListAndInfo'](prjId, workid, taskid) {
			return request({
				method: 'get',
				url   : '/rest/info/searchItemListAndInfo',
				params: { prjId, workid, taskid }
			})
		},
		//项目数据上报  查询单任务代办任务列表
		['/rest/info/todoListForTask'](prjid, taskid) {
			return request({
				method: 'get',
				url   : '/rest/info/todoListForTask',
				params: { prjid, taskid }
			})
		},
		//项目数据上报  detail
		['/rest/info/{id}'](id) {
			return request({
				method: 'get',
				url   : '/rest/info/{id}',
				params: { id }
			})
		},
		//项目基本信息管理  list
		['/rest/project']() {
			return request({
				method: 'get',
				url   : '/rest/project',
				params: {}
			})
		},
		//项目基本信息管理  项目基本信息列表
		['/rest/project/doProjectList'](currentPage, pageSize, rtaProjectInfo) {
			return request({
				method: 'get',
				url   : '/rest/project/doProjectList',
				params: { currentPage, pageSize, rtaProjectInfo }
			})
		},
		//项目基本信息管理  detail
		['/rest/project/{id}'](id) {
			return request({
				method: 'get',
				url   : '/rest/project/{id}',
				params: { id }
			})
		},
		//项目进度跟踪  查询列表
		['/rest/projectFollow/queryList'](project_name, start_start_time, start_end_time, end_start_time, end_end_time, app_phase, sp_start_time, sp_end_time, pagi) {
			return request({
				method: 'get',
				url   : '/rest/projectFollow/queryList',
				params: { project_name, start_start_time, start_end_time, end_start_time, end_end_time, app_phase, sp_start_time, sp_end_time, pagi }
			})
		},
		//项目预警管理  超时预警信息管理
		['/rest/taskWarnManagement/queryOvertimeMessageList'](project_name, duty_unit, duty_dept, is_done, reply_flag) {
			return request({
				method: 'get',
				url   : '/rest/taskWarnManagement/queryOvertimeMessageList',
				params: { project_name, duty_unit, duty_dept, is_done, reply_flag }
			})
		},
		//审批相关  历史审批列表
		['/rest/rptSp/queryHisSpLogList'](project_name, work_name, task_name, done_person_dept_name, done_person_dept, done_start_time, done_end_time, sp_state) {
			return request({
				method: 'get',
				url   : '/rest/rptSp/queryHisSpLogList',
				params: { project_name, work_name, task_name, done_person_dept_name, done_person_dept, done_start_time, done_end_time, sp_state }
			})
		},
		//审批相关  驳回任务列表
		['/rest/rptSp/queryRefuse']() {
			return request({
				method: 'get',
				url   : '/rest/rptSp/queryRefuse',
				params: {}
			})
		},
		//审批相关  审批人树
		['/rest/rptSp/querySpPersonTree']() {
			return request({
				method: 'get',
				url   : '/rest/rptSp/querySpPersonTree',
				params: {}
			})
		},
		//任务模板信息  要件设置
		['/rest/rptTask/queryItemList_sz'](id, item_name) {
			return request({
				method: 'get',
				url   : '/rest/rptTask/queryItemList_sz',
				params: { id, item_name }
			})
		},
		//任务模板信息  要件设置分页
		['/rest/rptTask/queryItemList_sz_pagi'](item_name) {
			return request({
				method: 'get',
				url   : '/rest/rptTask/queryItemList_sz_pagi',
				params: { item_name }
			})
		},
		//任务模板信息  任务列表
		['/rest/rptTask/queryTaskList'](rel_work_id) {
			return request({
				method: 'get',
				url   : '/rest/rptTask/queryTaskList',
				params: { rel_work_id }
			})
		},
		//任务模板信息  任务列表设置
		['/rest/rptTask/queryTaskList_sz'](id, task_code, task_name) {
			return request({
				method: 'get',
				url   : '/rest/rptTask/queryTaskList',
				params: { id, task_code, task_name }
			})
		},
		//任务模板信息  任务列表 不分页
		['/rest/rptTask/queryTaskList_sz_unpagi'](id, task_code, task_name) {
			return request({
				method: 'get',
				url   : '/rest/rptTask/queryTaskList_sz_unpagi',
				params: { id, task_code, task_name }
			})
		},
		//模板信息  项目类型列表
		['/rest/rptTemplate/queryCode_orgTypeList']() {
			return request({
				method: 'get',
				url   : '/rest/rptTemplate/queryCode_orgTypeList',
				params: {}
			})
		},
		//模板信息  模板列表
		['/rest/rptTemplate/queryTemplateList'](template_name, project_type, is_start, pagisize, currentPage, pagi) {
			return request({
				method: 'get',
				url   : '/rest/rptTemplate/queryTemplateList',
				params: { template_name, project_type, is_start, pagisize, currentPage, pagi }
			})
		},
		//模板信息  模板列表  不分页
		['/rest/rptTemplate/queryTemplateList_single'](id, template_name, project_type, is_start) {
			return request({
				method: 'get',
				url   : '/rest/rptTemplate/queryTemplateList_single',
				params: { id, template_name, project_type, is_start }
			})
		},
		//时效管理  任务信息列表
		['/rest/rptTimingSz/queryTaskInfoList'](work_id, pagi) {
			return request({
				method: 'get',
				url   : '/rest/rptTimingSz/queryTaskInfoList',
				params: { work_id, pagi }
			})
		},
		//时效管理  任务列表 设置
		['/rest/rptTimingSz/queryTaskList_sz'](id, task_code, task_name) {
			return request({
				method: 'get',
				url   : '/rest/rptTimingSz/queryTaskList_sz',
				params: { id, task_code, task_name }
			})
		},
		//工作模板信息  可选的前置工作列表
		['/rest/rptWork/queryPriorWorkList'](id, template_id) {
			return request({
				method: 'get',
				url   : '/rest/rptWork/queryPriorWorkList',
				params: { id, template_id }
			})
		},
		//工作模板信息  工作列表
		['/rest/rptWork/queryWorkList'](template_id, work_name, duty_dept) {
			return request({
				method: 'get',
				url   : '/rest/rptWork/queryWorkList',
				params: { template_id, work_name, duty_dept }
			})
		},
		//  以下贺峰09/23添加
		//历史审批列表
		['/rest/rptSp/queryHisSpLogList'](project_name, work_name, task_name, done_person_dept_name, sp_person_name, sp_state, done_start_time, done_end_time, pageSize, currentPage) {
			return request({
				method: 'get',
				url   : '/rest/rptSp/queryHisSpLogList',
				params: {
					project_name,
					work_name,
					task_name,
					done_person_dept_name,
					sp_person_name,
					sp_state,
					done_start_time,
					done_end_time,
					pageSize,
					currentPage
				}
			})
		},
		//驳回任务 列表
		['/rest/rptSp/queryRefuse']() {
			return request({
				method: 'get',
				url   : '/rest/rptSp/queryRefuse',
				params: {}
			})
		},
		
		//
		['/rest/rptSp/querySpPersonTree']({} = {}) {
			return request({
				method: 'get',
				url   : '/rest/rptSp/querySpPersonTree',
				params: {}
			})
		},
		//   以上贺峰 09/23 添加>>>>>>> d8fcfa6cc37c02d497e6c4535fd326a17756fb1f
		//任务审批列表
		['/rest/rptManTip/queryDbList'](pageType, pageSize, currentPage) {
			return request({
				method: 'get',
				url   : '/rest/rptManTip/queryDbList',
				params: { pageType, pageSize, currentPage }
			})
		},
	},
	post  : {
		['/user/verification-code'](userName) {
			return request({
				method: 'post',
				url   : '/user/verification-code',
				data  : { userName }
			})
		},
		['/user/register'](userName, password, vCode) {
			return request({
				method: 'post',
				url   : '/user/register',
				data  : { userName, password, vCode }
			})
		},
		['/user/login'](userName, password) {
			return request({
				method: 'post',
				url   : '/user/login',
				data  : { userName, password }
			})
		},
		['/user/logout']() {
			return request({
				method: 'post',
				url   : '/user/logout'
			})
		},
		//审批
		['/rest/rptSp/doSp'](rel_project_id, spbtg_content, sp_state, rel_work_id, rel_task_id, id) {
			return request({
				method: 'post',
				url   : '/rest/rptSp/doSp',
				data  : { spbtg_content, sp_state, rel_work_id, rel_task_id, id, rel_project_id }
			})
		},
		//批量审批通过
		['/rest/rptSp/doSptg_bat'](rel_project_id, rel_work_id, rel_task_id, id) {
			return request({
				method: 'post',
				url   : '/rest/rptSp/doSptg_bat',
				data  : { rel_project_id, rel_work_id, rel_task_id, id }
			})
		},
		//文件上传
		['/rest/file/upload'](file) {
			return request({
				method: 'post',
				url   : '/rest/file/upload',
				data  : { file }
			})
		},
		//项目数据上报creat
		['/rest/info'](t) {
			return request({
				method: 'post',
				url   : '/rest/info',
				data  : { t }
			})
		},
		//项目数据上报  提交任务审批
		['/rest/info/commitTask'](prjId, workId, taskId) {
			return request({
				method: 'post',
				url   : '/rest/info/commitTask',
				data  : { prjId, workId, taskId }
			})
		},
		//项目数据上报  完成任务
		['/rest/info/finishTask'](prjId, taskId) {
			return request({
				method: 'post',
				url   : '/rest/info/finishTask',
				data  : { prjId, taskId }
			})
		},
		//项目数据上报  保存要件信息
		['/rest/info/saveItemInfo'](prjId, workId, taskId, itemId, info) {
			return request({
				method: 'post',
				url   : '/rest/info/saveItemInfo',
				data  : { prjId, workId, taskId, itemId, info }
			})
		},
		//项目数据上报  修改要件信息
		['/rest/info/updateItemInfo'](prjId, infoId, info) {
			return request({
				method: 'post',
				url   : '/rest/info/updateItemInfo',
				data  : { prjId, infoId, info }
			})
		},
		//项目数据上报  delete
		['/rest/info/{id}/delete'](id) {
			return request({
				method: 'post',
				url   : '/rest/info/{id}/delete',
				data  : { id }
			})
		},
		//项目数据上报  logicdelete
		['/rest/info/{id}/logic_delete'](id) {
			return request({
				method: 'post',
				url   : '/rest/info/{id}/logic_delete',
				data  : { id }
			})
		},
		//项目数据上报  update
		['/rest/info/{id}/update'](id, t) {
			return request({
				method: 'post',
				url   : '/rest/info/{id}/update',
				data  : { id, t }
			})
		},
		//项目基本信息管理  create
		['/rest/project'](t) {
			return request({
				method: 'post',
				url   : '/rest/project',
				data  : { t }
			})
		},
		//项目基本信息管理  添加项目基本信息
		['/rest/project/doProjectInsert'](rtaProjectInfo, projectName, projectType, relTemplateId, startTime) {
			return request({
				method: 'post',
				url   : '/rest/project/doProjectInsert',
				data  : { rtaProjectInfo, projectName, projectType, relTemplateId, startTime }
			})
		},
		//项目基本信息管理  修改项目基本信息
		['/rest/project/doProjectUpdate'](rtaProjectInfo, projectName, projectType, relTemplateId, startTime) {
			return request({
				method: 'post',
				url   : '/rest/project/doProjectUpdate',
				data  : { rtaProjectInfo, projectName, projectType, relTemplateId, startTime }
			})
		},
		//项目基本信息管理  delete
		['/rest/project/{id}/delete'](id) {
			return request({
				method: 'post',
				url   : '/rest/project/{id}/delete',
				data  : { id }
			})
		},
		//项目基本信息管理  logicDelete
		['/rest/project/{id}/logic_delete'](id) {
			return request({
				method: 'post',
				url   : '/rest/project/{id}/logic_delete',
				data  : { id }
			})
		},
		//项目基础信息管理  update
		['/rest/project/{id}/update'](id, t) {
			return request({
				method: 'post',
				url   : '/rest/project/{id}/update',
				data  : { id, t }
			})
		},
		//项目进度管理  任务超时预警反馈
		['/rest/taskSupervise/taskOvertimeFeedback'](reason_type, duty_person, overtime_content, handle_content, id) {
			return request({
				method: 'post',
				url   : '/rest/taskSupervise/taskOvertimeFeedback',
				data  : { reason_type, duty_person, overtime_content, handle_content, id }
			})
		},
		//任务模板信息
		['/rest/rptTask/changeTaskIndex'](qian_id, hou_id, qian_idx, hou_idx) {
			return request({
				method: 'post',
				url   : '/rest/rptTask/changeTaskIndex',
				data  : { qian_id, hou_id, qian_idx, hou_idx }
			})
		},
		//任务模板信息  添加要件设置
		['/rest/rptTask/insertItem_sz'](upload_type, item_name, item_code, col_name, col_type) {
			return request({
				method: 'post',
				url   : '/rest/rptTask/insertItem_sz',
				data  : { upload_type, item_name, item_code, col_name, col_type }
			})
		},
		//任务模板信息  添加任务
		['/rest/rptTask/insertTask'](rel_work_id, rel_sz, dur_time, duty_dept, sp_person_id, sp_person_name, sp_level, sp_dept_id, sp_dept_name) {
			return request({
				method: 'post',
				url   : '/rest/rptTask/insertTask',
				data  : { rel_work_id, rel_sz, dur_time, duty_dept, sp_person_id, sp_person_name, sp_level, sp_dept_id, sp_dept_name }
			})
		},
		//任务模板信息  添加任务设置
		['/rest/rptTask/insertTask_sz'](task_code, task_name, upload_type, dur_time, item_code) {
			return request({
				method: 'post',
				url   : '/rest/rptTask/insertTask_sz',
				data  : { task_code, task_name, upload_type, dur_time, item_code }
			})
		},
		//任务模板信息  修改要件设置
		['/rest/rptTask/updateItem_sz'](id, item_name, item_code, item_content, upload_type, col_name, col_type) {
			return request({
				method: 'post',
				url   : '/rest/rptTask/queryTaskList_sz_unpagi',
				data  : { id, item_name, item_code, item_content, upload_type, col_name, col_type }
			})
		},
		//任务模板信息  修改任务
		['/rest/rptTask/updateTask'](id, duty_dept, dur_time, sp_person, sp_person_name, sp_level, person_dept, person_dept_name) {
			return request({
				method: 'post',
				url   : '/rest/rptTask/updateTask',
				data  : { id, duty_dept, dur_time, sp_person, sp_person_name, sp_level, person_dept, person_dept_name }
			})
		},
		//任务模板信息  修改任务设置
		['/rest/rptTask/updateTask_sz'](id, task_code, task_name, upload_type, dur_time, item_code) {
			return request({
				method: 'post',
				url   : '/rest/rptTask/updateTask_sz',
				data  : { id, task_code, task_name, upload_type, dur_time, item_code }
			})
		},
		//模板信息  复制模板
		['/rest/rptTemplate/doTemplateCopy'](id, template_name) {
			return request({
				method: 'post',
				url   : '/rest/rptTemplate/doTemplateCopy',
				data  : { id, template_name }
			})
		},
		//模板信息  添加模板
		['/rest/rptTemplate/doTemplateInsert'](template_name, project_type, content) {
			return request({
				method: 'post',
				url   : '/rest/rptTemplate/doTemplateInsert',
				data  : { template_name, project_type, content }
			})
		},
		//模板信息  设置模板启用
		['/rest/rptTemplate/doTemplateSetStart'](id, is_start) {
			return request({
				method: 'post',
				url   : '/rest/rptTemplate/doTemplateSetStart',
				data  : { id, is_start }
			})
		},
		//模板信息  修改模板
		['/rest/rptTemplate/doTemplateUpdate'](id, template_name, project_type, content) {
			return request({
				method: 'post',
				url   : '/rest/rptTemplate/doTemplateUpdate',
				data  : { id, template_name, project_type, content }
			})
		},
		//时效管理  时效设置
		['/rest/rptTimingSz/updateTime'](id, tip_day, warn_first_day, warn_second_day) {
			return request({
				method: 'post',
				url   : '/rest/rptTimingSz/updateTime',
				data  : { id, tip_day, warn_first_day, warn_second_day }
			})
		},
		//工作模板信息  添加工作
		['/rest/rptWork/doWorkInsert'](template_id, work_name, app_phase, work_type, work_idx, duty_dept) {
			return request({
				method: 'post',
				url   : '/rest/rptWork/doWorkInsert',
				data  : { template_id, work_name, app_phase, work_type, work_idx, duty_dept }
			})
		},
		//工作模板信息  添加前置工作
		['/rest/rptWork/doWorkInsertPrior'](id, priorIds) {
			return request({
				method: 'post',
				url   : '/rest/rptWork/doWorkInsertPrior',
				data  : { id, priorIds }
			})
		},
		//工作模板信息  修改工作
		['/rest/rptWork/doWorkUpdate'](id, work_name, app_phase, work_type, work_idx) {
			return request({
				method: 'post',
				url   : '/rest/rptWork/doWorkUpdate',
				data  : { id, work_name, app_phase, work_type, work_idx }
			})
		}
	},
	delete: {
		//项目数据上报  删除要件信息
		['/rest/info/delItemInfo'](prjId, infoId) {
			return request({
				method: 'delete',
				url   : '/rest/info/delItemInfo',
				params: { prjId, infoId }
			})
		},
		//项目基本信息管理  删除项目基本信息
		['/rest/project/doProjectDel'](id) {
			return request({
				method: 'delete',
				url   : '/rest/project/doProjectDel',
				params: { id }
			})
		},
		//任务模板信息  删除要件
		['/rest/rptTask/deleteItem'](id) {
			return request({
				method: 'delete',
				url   : '/rest/rptTask/deleteItem',
				params: { id }
			})
		},
		//任务模板信息  删除要件设置
		['/rest/rptTask/deleteItem_sz'](id) {
			return request({
				method: 'delete',
				url   : '/rest/rptTask/deleteItem_sz',
				params: { id }
			})
		},
		//任务模板信息  删除任务
		['/rest/rptTask/deleteTask'](id) {
			return request({
				method: 'delete',
				url   : '/rest/rptTask/deleteTask',
				params: { id }
			})
		},
		//任务模板信息  删除任务设置
		['/rest/rptTask/deleteTask_sz'](id) {
			return request({
				method: 'delete',
				url   : '/rest/rptTask/deleteTask_sz',
				params: { id }
			})
		},
		//模板信息  删除模板
		['/rest/rptTemplate/doTemplateDelete'](id) {
			return request({
				method: 'delete',
				url   : '/rest/rptTemplate/doTemplateDelete',
				params: { id }
			})
		},
		//工作模板信息  删除工作
		['/rest/rptWork/doWorkDelete'](id) {
			return request({
				method: 'delete',
				url   : '/rest/rptWork/doWorkDelete',
				params: { id }
			})
		}
	}
}


export default api;

